<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script>
    $("#btn").onClick=function(){
        var org = {};
        $.ajax(
            {
                url:'http://g.heeexy.com/api/login/getInfo',
                type:'post',
                dateType:'json',
                beforeSend: function(xhr) {
                    xhr.setRequestHeader("token:'69a860e415704bfe9293'");
                },
                headers:{'Content-Type':'application/json;charset=utf8','Accept': 'application/json, text/plain, */*'},
                data:JSON.stringify(org),
                success:function(data){console.log(data);},
                error:function(data){console.log("error");}
            }
        );
    };
</script>
<body>
    <button id="btn">测试</button>
</body>
</html>